package models

import "github.com/astaxie/beego/orm"

//Read get security notice by colName
func (sn *SecurityNotice) Read(colName ...string) error {
	o := orm.NewOrm()
	return o.Read(sn, colName...)
}
//Update update security notice by column names
func (sn *SecurityNotice)Update(colName ...string) error {
	o := orm.NewOrm()
	_, err := o.Update(sn, colName...)
	return err
}
